/*********************************
 * Memory manager
 *********************************/

enum Variable {
    getFileExtension_ext = 1,
    getFilePath_thisPath,
    getFilePath_path,
    parseParams_fullPath,
    parseParams_name,
    addDir_fullPath,
    addDir_receivedParameter,
    addDir_oldWorkingDir,
    addDir_name,
    SIZE
};

enum FillType {
    NO_FILL = 0,
    FILL
};

enum ErrorBehaviour {
    EXIT_ON_ERROR = 0,
    RETURN_ON_ERROR
};


void * allocateVariable( enum Variable, int, enum FillType );
void * allocateMemory( int );
void * allocatePictureMemory( int, enum FillType, enum ErrorBehaviour );
void freeMemory( void * );
void freePictureMemory( int );
void freeAll();
void initMemoryManager( void );
    
